<%--
  Created by IntelliJ IDEA.
  User: 86159
  Date: 2022/11/9
  Time: 9:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table align="center" border="1">
    <tr>
        <td>课程名称</td>
        <td>课程编号</td>
        <td>现有人数</td>
    </tr>

    <c:forEach  var="stu" items="${all}" >
        <tr>
            <td><a href="${pageContext.request.contextPath}/TeacherScanService?method=Scan&course_id=${stu.getCourse_id()}&existing=${stu.getExisting()}">${stu.getCourse_name()}</a></td>
            <td>${stu.getCourse_id() }</td>
            <td>${stu.getExisting() }</td>
        </tr>
    </c:forEach>

</table>
</body>
</html>
